# -*- coding: UTF-8 -*-

from utils.log_util.LoggerUtil import get_logger
import pymongo

log = get_logger(__name__)

class MongoUtil:
    def get_connection(self, host, port, **kwargs):
        return pymongo.MongoClient("mongodb://" + host + ":" + port + "/")